package com.zwl.demo.component.repo;

import com.zwl.demo.component.entity.Node;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface NodeEntityRepository extends JpaRepository<Node,Long> {

    List<Node> findAllByPid(Long pid);
}
